package com.canal.admin.exception;

/**
 * 用户异常类
 * @author yangbo
 * @Date 2019-03-18 14:49
 */
public class UserException extends RuntimeException {

    private int code;

    public UserException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
